package hcn.protocol.registration.xml.resp;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * @Author: lanyu
 * @Description:
 * @Date: create in 2023/3/3 15:26
 */
@XmlRootElement(name = "Data")
public class ApplyNoXmlResponse {

    private List<RequestList> requestList;

    @XmlElementWrapper(name = "RequestLists")
    @XmlElement(name = "RequestList")
    public List<RequestList> getRequestList() {
        return requestList;
    }

    public void setRequestList(List<RequestList> requestList) {
        this.requestList = requestList;
    }

    @XmlRootElement(name = "RequestList")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class RequestList {
        private String RequestId;

        public String getRequestId() {
            return RequestId;
        }

        public void setRequestId(String requestId) {
            RequestId = requestId;
        }
    }
}
